<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/include/page.jsp" %>
<jsp:useBean id="pojo" class="com.wang.users.pojo.AUsers"/>
<!DOCTYPE html>
<html lang="zh-CN">
	<head>
		<title>登陆 - 前台 - 用户中心</title>
		<%@ include file="/common/include/title.jsp" %>
	</head>
	<body>
		<%@ include file="/common/include/header.jsp" %>
		<!-- 网页的主体 -->
		<div class="container">
			<div class="col-md-8 col-sm-10">
				<form id="form" class="form-horizontal" method="post"
					action="${rootPath }/loginSubmit">
					<input type="hidden" name="returnUrl" value="">
	
					<h2
						class="col-sm-10 col-sm-offset-1 form-signin-heading text-center">登陆</h2>
					<div class="form-group">
						<label for="email" class="col-sm-3 control-label">邮箱</label>
						<div class="col-sm-8">
							<input type="text" id="email" name="email" class="form-control"
								value="" placeholder="邮箱">
						</div>
					</div>
					<div class="form-group">
						<label for="inputPassword" class="col-sm-3 control-label">密码</label>
						<div class="col-sm-8">
							<input type="password" name="password" id="inputPassword"
								class="form-control" placeholder="密码" />
						</div>
					</div>
					<div class="form-group">
						<label for="email" class="col-sm-3 control-label">验证码</label>
						<div class="col-sm-8">
							<div class="input-group">
								<span class="input-group-addon">
									<a href="#" tabindex="-1" onclick="return refreshCode('imgCode');">
										<img id="imgCode" src="${rootPath }/common/randImg" title="点击刷新验证码" width="100" height="40" />
									</a>
								</span>
								<input type="text" id="code" name="code" class="form-control" placeholder="验证码">
							</div>
						</div>
					</div>
					<div class="form-group">
						<div class="col-sm-8 col-sm-offset-2">
							<div class="input-group">
								<div class="checkbox">
									<label> <input type="checkbox" value="remember-me">
										记住我
									</label>
								</div>
								<span class="input-group-addon"> <a href="forgetPass.html">忘记密码</a>
								</span>
							</div>
						</div>
					</div>
					<div class="form-group">
						<div class="col-sm-8 col-sm-offset-2">
							<button class="btn btn-md btn-primary" type="submit">登陆</button>
							<a href="${rootPath }/register" class="btn btn-md btn-primary ml-3">注册</a>
						</div>
					</div>
				</form>
			</div>
		</div>
		<%@ include file="/common/include/footer.jsp" %>
	</body>
</html>